package com.designpatterns.decorator.decorator;

import com.designpatterns.decorator.component.Person;

/**
 * Decorator Abstract Class Implements Person Interface
 * @see Person 
 *
 * @author Haiqi.Wang
 * @since 2013-6-4下午1:27:54
 */
public abstract class Decorator implements Person {

	protected Person person;
	
	public void setPerson(Person person) {
		this.person = person;
	}

	@Override
	public void eat() {
		person.eat();
	}

}
